package com.jry.system;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import com.jry.common.security.annotation.EnableCustomConfig;
import com.jry.common.security.annotation.EnableJryFeignClients;
import com.jry.common.swagger.annotation.EnableCustomSwagger2;

/**
 * 系统模块
 *
 * @author zhangsuhang
 */
@EnableCustomConfig
@EnableCustomSwagger2
@EnableJryFeignClients
@SpringBootApplication
public class JrySystemApplication {

  public static void main(String[] args) {
    SpringApplication.run(JrySystemApplication.class, args);
    System.out.println("~~~系统模块启动成功~~~  \n" +
        "    _                                               _                      \n"
        + "   (_)                                             | |                     \n"
        + "    _   _ __   _   _   ______   ___   _   _   ___  | |_    ___   _ __ ___  \n"
        + "   | | | '__| | | | | |______| / __| | | | | / __| | __|  / _ \\ | '_ ` _ \\ \n"
        + "   | | | |    | |_| |          \\__ \\ | |_| | \\__ \\ | |_  |  __/ | | | | | |\n"
        + "   | | |_|     \\__, |          |___/  \\__, | |___/  \\__|  \\___| |_| |_| |_|\n"
        + "  _/ |          __/ |                  __/ |                               \n"
        + " |__/          |___/                  |___/  ");
  }
}
